<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>个人信息展示</title>
    <script src="https://unpkg.com/vue@3.4.0"></script>
    <style>
      body {
        font-family: Arial, sans-serif;
        max-width: 600px;
        margin: 50px auto;
        padding: 20px;
        background-color: #f5f5f5;
      }
      .info-card {
        background: white;
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      }
      .info-item {
        margin: 15px 0;
        padding: 10px;
        border-left: 4px solid #007bff;
        background-color: #f8f9fa;
      }
    </style>
  </head>
  <body>
    <div id="app">
      <div class="info-card">
        <h1>{{title}}</h1>
        <div class="info-item">
          <strong>姓名：</strong>
          {{name}}
        </div>
      </div>
    </div>

    <script>
      const { createApp } = Vue
      const App = {
        setup() {
          return {
            title: '个人信息展示'
          }
        }
      }
      createApp(App).mount('#app')
    </script>
  </body>
</html>
